<%@ Language=VBScript %> <% sub Footer() response.write("

All material on these pages is copyrighted by CFPACS and may not be used without permission.

Web space provided by:
The Palm and Cycad Societies of Florida and Zone10.com

Please contact the Webmaster if you have any questions or suggestions on how to improve our site.
") End Function %> <%Function MenuBar()%> <% End Function Function MetaTags(sTitle) If sTitle = "" Then sTitle = "Central Florida Palm & Cycad Society" End If%> <%=sTitle%>

<% End Function Function SmallHeader(sTitle) MetaTags sTitle%>


Upload a picture!

Central Florida Palm & Cycad Society
<% MenuBar End Function Function Header(sTitle) MetaTags sTitle%>

 Upload a picture of a palm to our site

Recent Pictures
<%MenuBar%>

<% End Function %> <% Function GetConn() Dim sConnect Dim sDB Err.Clear On Error Resume Next Set conn = Server.CreateObject("ADODB.Connection") MdbFilePath = Server.MapPath("observations/vpe.mdb") sconnect = "Driver={Microsoft Access Driver (*.mdb)}; DBQ=" & MdbFilePath & ";" conn.Mode = 3 conn.Open sConnect Set GetConn = conn Set conn = Nothing If Err.number <> 0 Then%>

The CFPACS Database is unavailable at this time.

Please try again later.

<% Footer Response.End End If End Function Function GetMemConn() Dim sConnect Dim sDB Err.Clear On Error Resume Next Set conn = Server.CreateObject("ADODB.Connection") MdbFilePath = Server.MapPath("membership/CFPACSRoster.mdb") sconnect = "Driver={Microsoft Access Driver (*.mdb)}; DBQ=" & MdbFilePath & ";" conn.Mode = 3 conn.Open sConnect Set GetMemConn = conn Set conn = Nothing If Err.number <> 0 Then%>

The CFPACS Membership Database is unavailable at this time.

Please try again later.

<% Footer Response.End End If End Function %> <% Dim sGenus sGenus = Request("Genus") & "" Header "CFPACS - Palm Observations for " & sGenus %>

Observation & Photo Database

All observations for the Genus <%=sGenus%>

<% 'Make the table of palms Dim sSQL, sFullName Dim rs, conn, nCount, nHalf,i, sCommon Set oConn = GetConn Set rs = Server.CreateObject("ADODB.Recordset") sSQL = "SELECT PalmID, Genus, Species, TotalObservations " sSQL = sSQL & " FROM PalmInfoPlusObservations " sSQL = sSQL & " WHERE Genus = '" & sGenus & "' " sSQL = sSQL & " ORDER BY 2,3" Set rs = oConn.Execute(sSQL) If Not rs.EOF Then Do While Not rs.EOF sFullName = rs("Genus") & " " & rs("Species") sPalmID = rs("PalmID")%> <%rs.MoveNext i = i + 1 Loop rs.Close End If set rs = nothing set oConn = nothing %>
Species Number of Observations
"><%=sFullName%>   <%=rs("TotalObservations")%>  Add Your Own Observations

Are we missing a species?
Send the webmaster an email and let him know.

<%Footer%>